var app = getApp();

Page({
  data: {

  },

  onLoad: function(options) {
    var that = this
    var docmoney = options.docmoney
    console.log(docmoney)
    var z_name = options.z_name
    var zid = options.zid
    var detailed = JSON.parse(options.record)
    that.setData({
      docmoney: docmoney,
      z_name: z_name,
      detailed: detailed,
      zid: zid
    })
  },
  onclick: function() {

  },
  onShow: function() {
    this.onclick();
    var that = this

  },
  withdraw: function() {
    var zid = this.data.zid
    var docmoney = this.data.docmoney
    wx.navigateTo({
      url: '/hyb_yl/backstageLifes/pages/my_ti/my_ti?zid=' + zid + '&docmoney=' + docmoney,
    })
  }
});